 <!DOCTYPE>
<html ng-app="chatApp">
    <head>

 <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.5/angular.min.js"></script> 
 <script src="chatApp.js"></script>
<script src="loginController.js"></script>
</head>
    <body>

<div ng-controller="loginController">
	<h2>Please select a nick</h2>
	<input type="text" ng-model="form.nick"  />
	<button ng-click="login()">Add</button>
</form>
</div>

</body>
</html>